package com.efast.dmom.equipment.service.wechat.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.efast.dmom.equipment.dao.wechat.WechatUserDao;
import com.efast.dmom.equipment.service.wechat.IWechatPhoneBindingService;

@Service
public class WechatPhoneBindingService implements IWechatPhoneBindingService {

	@Autowired
	WechatUserDao wechatUserDao;
	
	@Override
	public void bindPhone(String phoneNumber, String openId) {
		
		wechatUserDao.saveOpenId(openId, phoneNumber);
	}

	@Override
	public void unBindPhone(String phone) {
		// TODO Auto-generated method stub
		
	}



}
